<template>
  <div class="info box radial-gradient-demo">
    <div class="infocontainer">
      <img
        src="../assets/img/back.png"
        class="back"
        @click="$router.replace('/main')"
      />
      <div class="title">2024年下线项目</div>
      <div class="infobtnbox clmstart">
        <button
          class="infobtn"
          v-for="item in nowlist"
          :key="item.name"
          @click="toLink(item.link)"
        >
          {{ item.name }}
        </button>
      </div>
    </div>
  </div>
</template>
<script>
export default {
  data() {
    return {
      nowlist: [
        {
          name: "Garena2024年会系统",
          link: "https://h5.mahelei.com/2024/Garena/index.html",
        },
        {
          name: "安佳配方",
          link: "https://h5.mahelei.com/2024/Anchor/index.html",
        },
        {
          name: "Bayer邀请函",
          link: "https://h5.mahelei.com/2024/Bayer/index.html",
        },
        {
          name: "Unilever家清会议",
          link: "https://h5.mahelei.com/2024/UnileverJQ/index.html",
        },
        {
          name: "MiniPeace超级联萌",
          link: "https://h5.mahelei.com/index.php/MiniPeace",
        },
        {
          name: "西财邀请函",
          link: "https://h5.mahelei.com/2024/xicai/index.html?type=invite",
        },
        {
          name: "西财会议系统",
          link: "https://h5.mahelei.com/index.php/XiCaiSign",
        },
        {
          name: "百威助力",
          link: "https://h5.mahelei.com/2024/Budweiser/index.html",
        },
        {
          name: "联合利华PDF预览",
          link: "https://h5.mahelei.com/2024/UnileverPDF/index.html",
        },
        // 化学家 散利痛 钙尔奇 iqoo投票 联合利华pdf smart
        {
          name: "巴斯夫小小化学家报名",
          link: "https://h5.mahelei.com/index.php/BasfChemistry/Index", // https://h5.mahelei.com/2024/Chemist/index.html
        },
        {
          name: "Bayer-散利痛现场助力",
          link: "https://h5.mahelei.com/index.php/Bayer2024/Index", // https://h5.mahelei.com/2024/Disprine/index.html
        },
        {
          name: "钙尔奇",
          link: "https://h5.mahelei.com/index.php/Caltrate?city=k87hhwe47r", // https://h5.mahelei.com/2024/Calcar/index.html
        },
        {
          name: "IQOO投票",
          link: "https://h5.mahelei.com/index.php/Iqoo2024/Index", // https://h5.mahelei.com/2024/IQOOtp/index.html
        },
        {
          name: "联合利华PDF预览",
          link: "https://h5.mahelei.com/2024/UnileverPDF/index.html",
        },
        {
          name: "Smart打卡抽奖",
          link: "https://h5.mahelei.com/2024/Smart/index.html?type=cj0001", // https://h5.mahelei.com/2024/Smart/index.html
        },
        {
          name: "Smart门店消费抽奖",
          link: "https://h5.mahelei.com/2024/Smart/index.html?type=cj0002",
        },
        {
          name: "Smart AI拍照",
          link: "https://h5.mahelei.com/2024/Smart/index.html?type=ai0001",
        },
        {
          name: "Smart 注册",
          link: "https://h5.mahelei.com/2024/Smart/index.html?type=reg",
        },
        {
          name: "Smart 核销",
          link: "https://h5.mahelei.com/2024/Smart/index.html?type=verify&tag=vug8jpgnvhl5za2",
        },
      ],
    };
  },
  methods: {
    toLink(e) {
      setTimeout(() => {
        window.location.href = e;
      }, 300);
    },
  },
};
</script>
<style lang="less" scoped>
.info {
  overflow-y: scroll;
  .infocontainer {
    position: relative;
    width: 100%;
    height: auto;
    min-height: 100%;
    z-index: 3;
    .title {
      position: absolute;
      top: 6rem;
      width: 100%;
      font-size: 2.5rem;
      font-weight: bolder;
      color: #000;
      text-align: center;
    }
    .infobtnbox {
      width: 100%;
      height: auto;
      padding-top: 10rem;
      .infobtn:first-child {
        margin-top: 3rem;
      }
    }
  }
}
</style>
